const enums = {
  //归零周期
  emReturnPeriod: [
    {
      Code: 'EveryDay',
      Value: 'E',
      Name: '每日零点'
    },
    {
      Code: 'Monday',
      Value: 'M',
      Name: '每周一零点'
    },
    {
      Code: 'Month',
      Value: 'N',
      Name: '每月一号零点'
    },
    {
      Code: 'Quarter',
      Value: 'Q',
      Name: '季度起始零点'
    },
    {
      Code: 'Year',
      Value: 'Y',
      Name: '年起始日零点'
    },
    {
      Code: 'Always',
      Value: 'A',
      Name: '一直延续'
    }
  ],
  // 性别
  emSex: [
    {
      code: '男',
      value: '男',
      label: '男',
      name: '男'
    },
    {
      code: '女',
      value: '女',
      label: '女',
      name: '女'
    },
    {
      code: '其他',
      value: '其他',
      label: '其他',
      name: '其他'
    }
  ],
  // 血型
  emBloodType: [
    {
      code: 'A型',
      value: 'A型',
      label: 'A型',
      name: 'A型'
    },
    {
      code: 'B型',
      value: 'B型',
      label: 'B型',
      name: 'B型'
    },
    {
      code: 'O型',
      value: 'O型',
      label: 'O型',
      name: 'O型'
    },
    {
      code: 'AB型',
      value: 'AB型',
      label: 'AB型',
      name: 'AB型'
    },
    {
      code: 'RH型',
      value: 'RH型',
      label: 'RH型',
      name: 'RH型'
    }
  ],
  // 用工形式
  emEmployform: [
    {
      code: '自主招聘',
      value: '自主招聘',
      label: '自主招聘',
      name: '自主招聘'
    },
    {
      code: '劳务派遣',
      value: '劳务派遣',
      label: '劳务派遣',
      name: '劳务派遣'
    },
    {
      code: '其他',
      value: '其他',
      label: '其他',
      name: '其他'
    }
  ],
  // 学历
  emEducation: [
    {
      code: '研究生',
      value: '研究生',
      label: '研究生',
      name: '研究生'
    },
    {
      code: '本科',
      value: '本科',
      label: '本科',
      name: '本科'
    },
    {
      code: '大专',
      value: '大专',
      label: '大专',
      name: '大专'
    },
    {
      code: '高中',
      value: '高中',
      label: '高中',
      name: '高中'
    },
    {
      code: '初中',
      value: '初中',
      label: '初中',
      name: '初中'
    },
    {
      code: '小学',
      value: '小学',
      label: '小学',
      name: '小学'
    },
    {
      code: '其他',
      value: '其他',
      label: '其他',
      name: '其他'
    }
  ],
  // 教育类型
  emEducationalType: [
    {
      code: '中专',
      value: '中专',
      label: '中专',
      name: '中专'
    },
    {
      code: '大专',
      value: '大专',
      label: '大专',
      name: '大专'
    },
    {
      code: '大学本科',
      value: '大学本科',
      label: '大学本科',
      name: '大学本科'
    },
    {
      code: '硕士研究生',
      value: '硕士研究生',
      label: '硕士研究生',
      name: '硕士研究生'
    },
    {
      code: '博士',
      value: '博士',
      label: '博士',
      name: '博士'
    }
  ],
  // 婚姻状况
  emMarital: [
    {
      code: '未婚',
      value: '未婚',
      label: '未婚',
      name: '未婚'
    },
    {
      code: '已婚',
      value: '已婚',
      label: '已婚',
      name: '已婚'
    },
    {
      code: '丧偶',
      value: '丧偶',
      label: '丧偶',
      name: '丧偶'
    },
    {
      code: '离婚',
      value: '离婚',
      label: '离婚',
      name: '离婚'
    }
  ],
  // 政治面貌
  emPolity: [
    {
      code: '党员',
      value: '党员',
      label: '党员',
      name: '党员'
    },
    {
      code: '共青团员',
      value: '共青团员',
      label: '共青团员',
      name: '共青团员'
    },
    {
      code: '群众',
      value: '群众',
      label: '群众',
      name: '群众'
    },
    {
      code: '民主党派成员',
      value: '民主党派成员',
      label: '民主党派成员',
      name: '民主党派成员'
    },
    {
      code: '无党派人士',
      value: '无党派人士',
      label: '无党派人士',
      name: '无党派人士'
    }
  ],
  // 工作状态
  emStatus: [
    {
      code: '在职',
      value: '在职',
      label: '在职',
      name: '在职'
    },
    {
      code: '离职',
      value: '离职',
      label: '离职',
      name: '离职'
    },
    {
      code: '解雇',
      value: '解雇',
      label: '解雇',
      name: '解雇'
    }
  ],
  // 技能水平
  emSkillLevel: [
    {
      code: '学徒工',
      value: '学徒工',
      label: '学徒工',
      name: '学徒工'
    },
    {
      code: '初级工',
      value: '初级工',
      label: '初级工',
      name: '初级工'
    },
    {
      code: '高级工',
      value: '高级工',
      label: '高级工',
      name: '高级工'
    }
  ],
  // 健康状况
  emHealth: [
    {
      code: '健康状态',
      value: '健康状态',
      label: '健康状态',
      name: '健康状态'
    },
    {
      code: '亚健康状态',
      value: '亚健康状态',
      label: '亚健康状态',
      name: '亚健康状态'
    },
    {
      code: '疾病前驱状态',
      value: '疾病前驱状态',
      label: '疾病前驱状态',
      name: '疾病前驱状态'
    },
    {
      code: '疾病状态',
      value: '疾病状态',
      label: '疾病状态',
      name: '疾病状态'
    }
  ],
  // 合同状态
  emContractStatus: [
    {
      code: '失效',
      value: '失效',
      name: '失效'
    },
    {
      code: '执行中',
      value: '执行中',
      name: '执行中'
    },
    {
      code: '作废',
      value: '作废',
      name: '作废'
    },
    {
      code: '离职',
      value: '离职',
      name: '离职'
    }
  ],
  //业务类型
  emBusiType: [
    {
      code: '院内培训',
      value: '院内培训',
      name: '院内培训'
    },
    {
      code: '院外培训',
      value: '院外培训',
      name: '院外培训'
    },
    {
      code: '院内科室培训',
      value: '院内科室培训',
      name: '院内科室培训'
    },
    {
      code: '专家讲座',
      value: '专家讲座',
      name: '专家讲座'
    },
    {
      code: '新人培训',
      value: '新人培训',
      name: '新人培训'
    },
    {
      code: '其他类型',
      value: '其他类型',
      name: '其他类型'
    }
  ],
  //学分来源
  emScoreSource: [
    {
      code: '培训计划得分',
      value: '培训计划得分',
      name: '培训计划得分'
    },
    {
      code: '其他得分',
      value: '其他得分',
      name: '其他得分'
    }
  ],
  //问卷适用对象
  emApplicableModules: [
    {
      code: '医护满意度',
      value: '医护满意度',
      name: '医护满意度'
    },
    {
      code: '患者满意度',
      value: '患者满意度',
      name: '患者满意度'
    }
  ],
  //是否满意
  emIsSatisfied: [
    {
      code: '满意',
      value: '满意',
      name: '满意'
    },
    {
      code: '不满意',
      value: '不满意',
      name: '不满意'
    }
  ],
  // 计划时间
  planTime: [
    {
      value: 'yearly',
      label: '年报',
      code: 'yearly',
      name: '年报'
    },
    {
      value: 'halfYearly',
      label: '半年报',
      code: 'yearly',
      name: '半年报'
    },
    {
      value: 'quarterly',
      label: '季报',
      code: 'yearly',
      name: '季报'
    },
    {
      value: 'monthly',
      label: '月报',
      code: 'yearly',
      name: '月报'
    },
    {
      value: 'weekly',
      label: '周报',
      code: 'weekly',
      name: '周报'
    },
    {
      value: 'daily',
      label: '日报',
      code: 'yearly',
      name: '日报'
    }
  ],
  // 功能组件
  templates: [
    {
      value: 'input',
      label: '输入框',
      code: 'input',
      name: '输入框'
    },
    {
      value: 'inputnumber',
      label: '数值框',
      code: 'inputnumber',
      name: '数值框'
    },
    {
      value: 'switch',
      label: '开关',
      code: 'switch',
      name: '开关'
    },
    {
      value: 'textarea',
      label: '大文本框',
      code: 'textarea',
      name: '大文本框'
    },
    {
      value: 'select',
      label: '下拉框',
      code: 'select',
      name: '下拉框'
    },
    {
      value: 'radio',
      label: '单选框',
      code: 'radio',
      name: '单选框'
    },
    {
      value: 'checkbox',
      label: '复选框',
      code: 'checkbox',
      name: '复选框'
    }
  ],
  //是否满意
  emOrderCategoryType: [
    {
      code: 'PURCHASE',
      value: 0,
      name: '采购',
      label: '采购'
    },
    {
      code: 'ALLOT',
      value: 1,
      name: '调拨',
      label: '调拨'
    },
    {
      code: 'CONSUME',
      value: 2,
      name: '消耗',
      label: '消耗'
    },
    {
      code: 'RETAIL',
      value: 3,
      name: '销售',
      label: '销售'
    }
  ],
  emWorkTypes: [
    {
      code: 1,
      value: 1,
      name: '8小时工作制',
      label: '8小时工作制'
    },
    {
      code: 2,
      value: 2,
      name: '固定工作时间',
      label: '固定工作时间'
    },
    {
      code: 3,
      value: 3,
      name: '灵活时段',
      label: '灵活时段'
    }
  ],
  emFrequencies: [
    {
      code: 1,
      value: 1,
      name: '日',
      label: '日'
    },
    {
      code: 2,
      value: 2,
      name: '周',
      label: '周'
    },
    {
      code: 3,
      value: 3,
      name: '半月',
      label: '半月'
    },
    {
      code: 4,
      value: 4,
      name: '月',
      label: '月'
    },
    {
      code: 5,
      value: 5,
      name: '季',
      label: '季'
    },
    {
      code: 6,
      value: 6,
      name: '半年',
      label: '半年'
    },
    {
      code: 7,
      value: 7,
      name: '年',
      label: '年'
    },
    {
      code: 9999,
      value: 9999,
      name: '其他',
      label: '其他'
    }
  ],
  emRepOrderSources: [
    {
      code: 1,
      value: 1,
      name: '报修',
      label: '报修'
    },
    {
      code: 2,
      value: 2,
      name: '保养',
      label: '保养'
    },
    {
      code: 3,
      value: 3,
      name: '巡检',
      label: '巡检'
    },
    {
      code: 9999,
      value: 9999,
      name: '其他',
      label: '其他'
    }
  ],
  emInsStates: [
    {
      code: 1,
      value: 1,
      name: '正常',
      label: '正常',
      color: 'blue'
    },
    {
      code: 2,
      value: 2,
      name: '带病运行',
      label: '带病运行',
      color: 'orange'
    },
    {
      code: 3,
      value: 3,
      name: '故障',
      label: '故障',
      color: 'red'
    },
    {
      code: 4,
      value: 4,
      name: '报销',
      label: '报销',
      color: 'red'
    },
    {
      code: 9999,
      value: 9999,
      name: '其他',
      label: '其他',
      color: 'green'
    }
  ],
  emMtLevels: [
    {
      code: 1,
      value: 1,
      name: '紧急',
      label: '紧急'
    },
    {
      code: 2,
      value: 2,
      name: '严重',
      label: '严重'
    },
    {
      code: 3,
      value: 3,
      name: '一般',
      label: '一般'
    }
  ],
  emRepOrderStatus: [
    {
      code: 0,
      value: 0,
      name: '报修',
      label: '报修'
    },
    {
      code: 1,
      value: 1,
      name: '已提交',
      label: '已提交'
    },
    {
      code: 2,
      value: 2,
      name: '已审核',
      label: '已审核'
    },
    {
      code: 3,
      value: 3,
      name: '已维修',
      label: '已维修'
    },
    {
      code: 4,
      value: 4,
      name: '已验收',
      label: '已验收'
    }
  ],
  emMaintainStatus: [
    {
      code: 0,
      value: 0,
      name: '未开始',
      label: '未开始',
      bgColor: 'bg-pink'
    },
    {
      code: 1,
      value: 1,
      name: '执行中',
      label: '执行中',
      bgColor: 'bg-blue'
    },
    {
      code: 2,
      value: 2,
      name: '已完成',
      label: '已完成',
      bgColor: 'bg-olive'
    },
    {
      code: 3,
      value: 3,
      name: '已验收',
      label: '已验收',
      bgColor: 'bg-cyan'
    },
    {
      code: 4,
      value: 4,
      name: '已过期',
      label: '已过期',
      bgColor: 'bg-grey'
    }
  ],
  emLevelStatus: [
    {
      code: 'A',
      value: '0',
      name: '关键',
      label: '关键',
      color: 'red'
    },
    {
      code: 'B',
      value: '1',
      name: '重要',
      label: '重要',
      color: 'pink'
    },
    {
      code: 'C',
      value: '2',
      name: '一般',
      label: '一般',
      color: 'green'
    }
  ],
  //使用状态
  emUsingStatus: [
    {
      code: 0,
      value: 0,
      name: '在用',
      label: '在用',
      color: 'green'
    },
    {
      code: 1,
      value: 1,
      name: '闲置',
      label: '闲置',
      color: 'cyan'
    },
    {
      code: 2,
      value: 2,
      name: '安装',
      label: '安装',
      color: 'blue'
    },
    {
      code: 3,
      value: 3,
      name: '禁用',
      label: '禁用',
      color: 'grey'
    }
  ],
  //设备巡检或保养项目结果类型
  eqResultType: [
    {
      code: '0',
      value: '0',
      name: '数值',
      label: '数值'
    },
    {
      code: '1',
      value: '1',
      name: '选项',
      label: '选项'
    }
  ],
  /**比较运算符枚举 */
  emSymbol: [
    {
      value: 'greatthan',
      label: '大于[>]'
    },
    {
      value: 'greatequalthan',
      label: '大于等于[>=]'
    },
    {
      value: 'lessthan',
      label: '小于[<]'
    },
    {
      value: 'lessequalthan',
      label: '小于等于[<=]'
    },
    {
      value: 'equal',
      label: '等于[=]'
    },
    {
      value: 'in',
      label: '包含[in]'
    },
    {
      value: 'notin',
      label: '不包含[not in]'
    },
    {
      value: 'like',
      label: '匹配[like]'
    },
    {
      value: 'notlike',
      label: '不匹配[not like]'
    }
  ]
};
export { enums };
